﻿namespace Sidvall.Web.IO
{
	public class ByteRangeCollection : System.Collections.ObjectModel.Collection<ByteRange>
	{
		#region Add

		public void Add(long from, long to)
		{
			var item = new ByteRange()
			{
				From = from,
				To = to,
			};
			Add(item);
		}

		#endregion
	}
}
